import 'package:flutter/material.dart';
import 'package:note_life/theme.dart';

class AppColor {
  static Color DARK_COLOR = Color(0XFF314468);
  static Color TEXT_BLACK = Color(0XFF333333);
  static Color TEXT_BRIGHT = Color(0XFF999999);
  static Color DIVIDER_COLOR = Color(0XFFE0E0E0);
  static Color BLUE_COLOR = Color(0XFF1FA7BC);
  static Color GREEN_COLOR = Color(0XFF029B83);
  static Color THEME_GB_COLOR = ThemeUtil.type == ThemeUtil.DARK_THEME
      ? AppColor.DARK_COLOR
      : Colors.white;

  static void resetBgColor() {
    THEME_GB_COLOR = ThemeUtil.type == ThemeUtil.DARK_THEME
        ? AppColor.DARK_COLOR
        : Colors.white;
  }

  static Color THEME_COLOR = ThemeUtil.type == ThemeUtil.DARK_THEME
      ? Colors.white
      : AppColor.TEXT_BLACK;

  static Color THEME_TEXT_BRIGHT_COLOR = ThemeUtil.type == ThemeUtil.DARK_THEME
      ? Colors.white
      : AppColor.TEXT_BRIGHT;

  static void resetThemeColor() {
    THEME_COLOR = ThemeUtil.type == ThemeUtil.DARK_THEME
        ? Colors.white
        : AppColor.TEXT_BLACK;
    THEME_TEXT_BRIGHT_COLOR = ThemeUtil.type == ThemeUtil.DARK_THEME
        ? Colors.white
        : AppColor.TEXT_BRIGHT;
  }
}
